<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, minimum-scale= 1.0, initial-scale= 1.0">
    <title>物流时刻表</title>
    <#assign base=request.contextPath/>
    <link rel="stylesheet" href="${base}/sweep/shijian/style/base.css">
    <script src="${base}/backstage/js/jquery-1.8.3.min.js"></script>
    <script>
        var base =  "${base}";
    </script>
    <script src="${base}/backstage/js/ipNameUrl.js"></script>
</head>
<body>
<div class="container" style="position: relative;right:36%">
    <div id="timeline">
<#--        <div class="timeline-item">-->
<#--            <div class="timeline-icon">-->
<#--                <img src="${base}/sweep/shijian/images/star.svg" alt="">-->
<#--            </div>-->
<#--            <div class="timeline-content right">-->
<#--                <h2>17素材网 1</h2>-->
<#--                <p>17素材网专注于提供免费素材下载,其内容涵盖设计素材,PSD素材,矢量素材,图片素材,图标素材,设计字体等免费素材.下载免费素材尽在17素材网免费素材网</p>-->
<#--                <a href="http://www.17sucai.com/" class="btn">网页特效</a>-->
<#--            </div>-->
<#--        </div>-->




    </div>
</div>
<script>
    window.onload = function a() {
        $.ajax({
            type: "get",
            url: "${base}/admin/shoppingOrder/selectLogisticsExpress",
            data: {oddNumber: '${kd}'},
            dataType: "json",
            success: function (data) {
                if (data.code === 200) {
                    var abc = data.data.result.list;
                    for (let i = 0; i < abc.length; i++) {
                        $("#timeline").append(
                            '<div class="timeline-item">' +
                            '<div class="timeline-icon">' +
                            '<img src="${base}/sweep/shijian/images/star.svg" alt="">' +
                            '</div>' +
                            '<div class="timeline-content right">' +
                            '<h2>'+abc[i].time+'</h2>' +
                            '<p>'+abc[i].status+'</p>' +
                            '</div>' +
                            '</div>'
                        )
                    }

                }
            }
        });
    }
</script>
</body>
</html>